﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;

namespace ManagementCMS.Tool
{
    /// <summary>
    /// 枚举类
    /// </summary>
    public class EnumHelp
    {

        /// <summary>
        /// 订单支付间隔有效时间
        /// </summary>
        public static int OrderInterval = 15;

        /// <summary>
        /// 待付款
        /// </summary>
        public static int PendingPayment = 2;

        /// <summary>
        /// 商品类别
        /// </summary>
        public enum CommodityCategory
        {
            [Description("茶叶")]
            Tea = 1,
            [Description("零食")]
            Snacks = 2    ,
            [Description("设备")]
            equipment = 3
        }
        /// <summary>
        /// 商品状态
        /// </summary>
        public enum CommodityStates
        {
            [Description("上架")]
            Shelves = 1,

            [Description("下架")]
            Frame = 2
        }
    }
}